home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / browser / preferences / applications.css < prev    next >
Cascading Style Sheet File  |  2010-02-02  |  5KB  |  140 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is the Firefox Preferences System.
  15.  *
  16.  * The Initial Developer of the Original Code is Mozilla Corporation.
  17.  * Portions created by the Initial Developer are Copyright (C) 2005
  18.  * the Initial Developer. All Rights Reserved.
  19.  *
  20.  * Contributor(s):
  21.  *   Florian Queze <florian@mozilla.com>
  22.  *
  23.  * Alternatively, the contents of this file may be used under the terms of
  24.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  25.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  26.  * in which case the provisions of the GPL or the LGPL are applicable instead
  27.  * of those above. If you wish to allow use of your version of this file only
  28.  * under the terms of either the GPL or the LGPL, and not to allow others to
  29.  * use your version of this file under the terms of the MPL, indicate your
  30.  * decision by deleting the provisions above and replace them with the notice
  31.  * and other provisions required by the GPL or the LGPL. If you do not delete
  32.  * the provisions above, a recipient may use your version of this file under
  33.  * the terms of any one of the MPL, the GPL or the LGPL.
  34.  *
  35.  * ***** END LICENSE BLOCK ***** */
  36.  
  37. /**
  38.  * Line up the actions menu with action labels above and below it.
  39.  * Equalize the distance from the left side of the action box to the left side
  40.  * of the icon for both the menu and the non-menu versions of the action box.
  41.  * Also make sure the labels are the same distance away from the icons.
  42.  */
  43. .actionsMenu {
  44.   margin-top: 0;
  45.   margin-bottom: 0;
  46.   -moz-margin-start: -2px;
  47.   -moz-margin-end: 0;
  48. }
  49.  
  50. .typeIcon,
  51. .actionIcon {
  52.   -moz-margin-start: 3px;
  53.   -moz-margin-end: 3px;
  54. }
  55.  
  56. richlistbox {
  57. border: 2px solid !important;
  58. -moz-border-radius: 5px !important;
  59. -moz-border-top-colors:#969595 #c1c0bf !important;
  60. -moz-border-bottom-colors:#d6d5d4 #e0dfde !important;
  61. -moz-border-left-colors:#bbbab9 #dcdbda !important;
  62. -moz-border-right-colors:#bcbbba #dcdbda !important;
  63. color:#000000;
  64. background-color:#ffffff;
  65. }
  66.  
  67. richlistbox:focus {
  68. -moz-border-top-colors:#2f75c5 #789bc3 !important;
  69. -moz-border-bottom-colors:#3278c7 #88abd3 !important;
  70. -moz-border-left-colors:#3177c6 #86a8d1 !important;
  71. -moz-border-right-colors:#3278c7 #86a8d1 !important;
  72. }
  73.  
  74. richlistitem label {
  75.   -moz-margin-start: 1px;
  76.   margin-top: 2px;
  77. }
  78.  
  79. richlistitem{
  80. color: #000000 !important;
  81. border: 2px solid transparent;
  82. -moz-border-radius: 3px;
  83. }
  84.  
  85. richlistitem:hover {
  86. background: -moz-linear-gradient(top, #deeefe, #ccdae7);
  87. /*background-color:#dae8f6;
  88. background-image: url("chrome://browser/skin/icons/treeitem_hover.png");
  89. background-repeat:repeat-x;*/
  90. -moz-border-top-colors:#cce1f6 #e7f3fe !important;
  91. -moz-border-bottom-colors:#cadef2 #e3eef8 !important;
  92. -moz-border-left-colors:#cbe0f4 #e5f1fb !important;
  93. -moz-border-right-colors:#cadff3 #e5f0fb !important;
  94. }
  95.  
  96. richlistitem[selected="true"] {
  97. background: -moz-linear-gradient(top, #68b4fd, #5190cf);
  98. /*background-color:#4790d7;
  99. background-image: url("chrome://browser/skin/icons/treeitem_sel.png");
  100. background-repeat:repeat-x;*/
  101. -moz-border-top-colors:#418bd4 #89c3fd !important;
  102. -moz-border-bottom-colors:#418bd4 #71a8df !important;
  103. -moz-border-left-colors:#418bd4 #7fb9f1 !important;
  104. -moz-border-right-colors:#418bd4 #7ab3ea !important;
  105. color:#ffffff !important;
  106. }
  107.  
  108. richlistitem[appHandlerIcon="ask"],
  109. menuitem[appHandlerIcon="ask"] {
  110.   list-style-image: url("chrome://browser/skin/preferences/alwaysAsk.png");
  111. }
  112.  
  113. richlistitem[appHandlerIcon="save"],
  114. menuitem[appHandlerIcon="save"] {
  115.   list-style-image: url("chrome://browser/skin/preferences/application.png");
  116. }
  117.  
  118. richlistitem[appHandlerIcon="feed"],
  119. menuitem[appHandlerIcon="feed"] {
  120.   list-style-image: url("chrome://browser/skin/page-livemarks.png");
  121. }
  122.  
  123. richlistitem[appHandlerIcon="plugin"],
  124. menuitem[appHandlerIcon="plugin"] {
  125.   list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
  126. }
  127.  
  128. .actionsMenu .menulist-icon {
  129.   -moz-margin-end: 3px;
  130. }
  131.  
  132. .actionsMenu > menupopup > menuitem > .menu-iconic-left {
  133.   -moz-padding-start: 0px;
  134.   -moz-padding-end: 2px;
  135. }
  136.  
  137. .actionsMenu > menupopup > menuitem {
  138.   -moz-padding-start: 4px;
  139. }
  140.